﻿using Kw.Combinatorics;
using System;

namespace Kw.CombinatoricsExamples
{
    class ProductExample05
    {
        static void Main ()
        {
            Product productRow = new Product (new int[] { 3, 4, 5 });
            productRow.Rank = 33;

            foreach (int element in productRow)
                Console.WriteLine ("Element = " + element);
        }

        /* Output:

        Element = 1
        Element = 2
        Element = 3

        */
    }
}
